﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="YY.Web.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>商城信息管理平台</title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <script src="/jQuery/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            //检测IE
            if ('undefined' == typeof (document.body.style.maxHeight)) {
                window.location.href = 'ie6update.html';
            }
            AutoCenter();
            $(window).resize(function () {
                AutoCenter();
            });
        });
        function AutoCenter() {
            //居中显示
            var screenHeight = document.documentElement.clientHeight;
            $(".login-wrap").css({ "height": screenHeight + "px" });
            //上边距
            var avgSpace = (screenHeight - 600) / 2;
            $(".login-con").css({ "margin-top": avgSpace + "px" });
        }
    </script>
    <style type="text/css">
        .copy-right{ display:block; position:absolute; right:0; bottom:10px; left:0; text-align:center; }
	.copy-right p{ font-size:12px; color:#83b7ce; line-height:1.8em; }
    </style>
</head>

<body>
    <form id="form1" runat="server">
        <div class="login-wrap">
            <div class="login-con">
                <div class="login-area">
                    <p>
                        <i class="account-icon"></i>
                        <asp:TextBox ID="txtUserName" class="account-input" placeholder="商户帐号/手机/邮箱" ToolTip="商户帐号/手机/邮箱" runat="server" />
                        <label class="icon user" for="txtUserName"></label>
                    </p>
                    <p>
                        <i class="pwd-icon"></i>
                        <asp:TextBox ID="txtPassword" runat="server" CssClass="account-input" TextMode="Password" placeholder="请输入密码" title="请输入密码"></asp:TextBox>
                        <label class="icon pwd" for="txtPassword"></label>
                    </p>
                    <p>
                        <asp:LinkButton ID="btnSubmit" runat="server" Text="登 录" CssClass="login-submit" OnClick="btnSubmit_Click" />
                        <asp:Button ID="Button1" runat="server" Text="测试按钮" OnClick="Button1_Click" />
                    </p>
                    <p id="msgtip" class="login-tips" runat="server">请输入用户名和密码</p>
                </div>
            </div>
        </div>
       <div class="copy-right">
            <p>版权所有 <asp:Literal ID="ltlfootInfo" runat="server"></asp:Literal> Copyright © 2015 - 2025 bawanggou.com Inc. All Rights Reserved.</p>
        </div>
    </form>
</body>
</html>
